package vo.yahoo;

import java.util.ArrayList;
import java.util.List;

import vo.IListMessageResponse;

public class ListMessageResponse implements IListMessageResponse{
	private List messageList = new ArrayList();
	private int noOfMessages ;
	private int totalSize ;
	private String folderName = null ;
	public void addMessage(MessageInfo m){
		messageList.add(m);
	}
	public List getMessageList() {
		return messageList;
	}
	public void setMessageList(List messageList) {
		this.messageList = messageList;
	}
	public int getNoOfMessages() {
		return noOfMessages;
	}
	public void setNoOfMessages(int noOfMessages) {
		this.noOfMessages = noOfMessages;
	}
	public int getTotalSize() {
		return totalSize;
	}
	public void setTotalSize(int totalSize) {
		this.totalSize = totalSize;
	}
	public String getFolderName() {
		return folderName;
	}
	public void setFolderName(String folderName) {
		this.folderName = folderName;
	}
	
}
